// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import SvgIcon from '@/components/svgIcon/index.vue'

import type { App } from "vue";
export function useIcon(app:App) {
  for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(`ele-${key}`, component);
  }
  app.component('SvgIcon',SvgIcon)
}
